<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>添加治理方案</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="../../../layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../../css/public.css" media="all" />
		<link rel="stylesheet" href="../../common/zTreeStyle.css" />
		<style type="text/css">
			.fowei {
				font-weight: bold;
				color: black;
			}
			
			.back_san {
				display: inline-block;
				vertical-align: bottom;
				margin-right: -4px;
				width: 0;
				height: 0;
				border-bottom: 19px solid transparent;
				border-top: 19px solid transparent;
				border-left: 19px solid transparent;
				border-right: 19px solid #1E9FFF;
			}
			
			.backtit {
				display: inline-block;
				float: right;
				position: relative;
				top: -10px;
			}
			
			.topsty {
				height: 40px;
				border-bottom: 1px solid #1E9FFF;
				line-height: 40px;
				background: white;
			}
		</style>
	</head>

	<body class="childrenBody" style="background: white;">

		<form class="layui-form">
			<div class="topsty">
				<div style="display: inline;"><span style="font-size: 15px;"><i class="layui-icon" style="color: #1E9FFF;margin:0 10px 0 30px;">&#xe65b;</i>添加隐患</span></div>
				<div class="backtit" style="top: -5px;">
					<div class="back_san"></div>
					<a href="../../../page/risk/risk-list/risk-list.html" class="layui-btn layui-btn-normal addNews_btn">返回列表页</a>
				</div>
			</div>
			<!--<a href="../../../page/risk/risk-list/risk-list.html" class="layui-btn layui-btn-normal addNews_btn">返回</a>-->
			<form class="layui-form">

				<table class="layui-table" lay-skin="nob">
					<colgroup>
						<col width="10%">
						<col width="23.33%">
						<col width="10%">
						<col width="23.33%">
						<col width="10%">
						<col width="23.33%">
					</colgroup>
					<tbody>
						<tr>
							<td>

								<label class=" fowei">发现人</label>

							</td>
							<td><span id="finduser"></span></td>
							<td>

								<label class=" fowei">发现时间</label>

							</td>
							<td><span id="findtime"></span></td>
							<td>

								<label class=" fowei">隐患类型</label>

							</td>
							<td><span id="typeId"></span></td>
						</tr>
						<tr>
							<td>

								<label class="fowei">隐患描述</label>

							</td>
							<td colspan="5"><span id="describe" style="display: -webkit-box;word-break: break-all;-webkit-box-orient: vertical;overflow: hidden;text-overflow:ellipsis;"></span></td>
						</tr>
						<tr>
							<td>

								<label class=" fowei">隐患照片</label>

							</td>
							<td colspan="5">
								<div id="descrimg"></div>
							</td>
						</tr>
						<tr>
							<td>

								<label class="fowei">核查人</label>

							</td>
							<td> <span id="cheuser"></span></td>
							<td>

								<label class="fowei">核查时间</label>

							</td>
							<td><span id="chetime"></span></td>
							<td>

								<label class=" fowei">防控措施<br />完成时间</label>

							</td>
							<td><span id="comptime"></span></td>
						</tr>
						<tr>
							<td>

								<label class=" fowei">核查结论</label>

							</td>
							<td colspan="5"><span id="cheaudi" style="display: -webkit-box;word-break: break-all;-webkit-box-orient: vertical;overflow: hidden;text-overflow:ellipsis;"></span></td>
						</tr>
						<tr>
							<td>

								<label class=" fowei">防控措施</label>

							</td>
							<td colspan="5"><span name="desc" style="display: -webkit-box;word-break: break-all;-webkit-box-orient: vertical;overflow: hidden;text-overflow:ellipsis;" id="auditStep" placeholder="输入防控措施"></span></td>
						</tr>
						<tr>
							<td colspan="6" style="padding: 0;">
								<table class="layui-table">
									<colgroup>
										<col width="10%">
										<col width="23.33%">
										<col width="10%">
										<col width="23.33%">
										<col width="10%">
										<col width="23.33%">
									</colgroup>
									<tbody id="newsdata">

									</tbody>
								</table>
							</td>
						</tr>
						<tr>
							<td></td>
						</tr>
						<tr>
							<td style="padding:0px;" colspan="6">
								<hr class="layui-bg-black">

							</td>
						</tr>
						<tr>
							<td>

								<label class="fowei">责任人 </label>

							</td>
							<td><input type="text" id="leaderUser1" class="layui-input " placeholder="输入姓名" /></td>
							<td>

								<label class=" fowei">责任单位</label>

							</td>
							<td>

								<!--<select name="interest" id="dutycompay1"  lay-filter="aihao">
	        <option>请选择</option>
	     </select>-->

								<input type="text" id="resclas" readonly="" placeholder="请选择单位"  autocomplete="off" class="layui-input" lay-verify="required">

								<ul id="resclass" class="ztree" style="height: 300px;overflow: auto; display: none;position: absolute;width: 239px;z-index: 999;background:white;">

								</ul>

							</td>
							<td>

								<label class=" fowei">治理措施<br />落实时间 </label>

							</td>
							<td>
								<input type="text" class="layui-input searchVal" readonly="" id="practic" placeholder="yyyy-MM-dd">

							</td>
						</tr>
						<tr>
							<td>

								<label class=" fowei">治理方案</label>

							</td>
							<td colspan="5">

								<textarea name="desc" id="treatment" style="resize: none;" placeholder="治理方案/提交附件" class="layui-textarea"></textarea>

							</td>
						</tr>
						<tr>
							<td></td>
							<td colspan="5">

								<button class="layui-btn layui-btn-normal" type="button" id="addpic">添加照片</button>
								<input type="file" id="selfile" style="display: none;" />
								<button class="layui-btn layui-btn-normal" type="button" id="addfile">添加附件</button>
								<input type="file" id="updatafile" style="display: none;" />

							</td>

						</tr>
						<tr>
							<td></td>
							<td colspan="5">

								<div id="picapp1"></div>

							</td>

						</tr>
						<td></td>
						<td colspan="5">
							<div id="picapp"></div>

						</td>

						</tr>
						<tr>
							<td colspan="6" style="text-align: center;"><button type="button" class="layui-btn layui-btn-danger" style="width: 100px; font-size: 16px;" id="upsubmit">提&nbsp;交</button></td>

						</tr>

					</tbody>
				</table>

				<!--			
			<div class="layui-inline">
				<label class="layui-form-label">发现人</label>
			    <div class="layui-input-block">
			      <span id="finduser"></span>
			    </div>
				
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">发现时间</label>
			    <div class="layui-input-block">
			      <span id="findtime"></span>
			    </div>
				
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">隐患类型</label>
			    <div class="layui-input-block">
			      <span id="typeId"></span>
			    </div>
				 
			</div>-->
				<!--<div class="layui-form-item layui-form-text">
			    <label class="layui-form-label">隐患描述</label>
			    <div class="layui-input-block">
			      <span id="describe"></span>
			    </div>
			  </div>
			  <div class="layui-form-item layui-form-text">
			    <label class="layui-form-label">隐患照片</label>
			    <div class="layui-input-block" id="descrimg">
			    	
			      
			    </div>
			  </div>-->
				<!--<div class="layui-inline">
				<label class="layui-form-label">核查人</label>
			    <div class="layui-input-block">
			      <span id="cheuser"></span>
			    </div>
				
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">核查时间</label>
			    <div class="layui-input-block">
			      <span id="chetime"></span>
			    </div>
				
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">防控措施完成时间</label>
			    <div class="layui-input-block">
			      <span id="comptime"></span>
			    </div>
				
			</div>-->
				<!--<div class="layui-form-item layui-form-text">
			    <label class="layui-form-label">核查结论</label>
			    <div class="layui-input-block">
			     	<span id="cheaudi"></span>
			    </div>
			</div>
			
			
			<div class="layui-form-item layui-form-text">
			    <label class="layui-form-label">防控措施</label>
			    <div class="layui-input-block">
			      <textarea name="desc" id="auditStep" placeholder="输入防控措施" class="layui-textarea"></textarea>
			    </div>
			</div>
			<hr />-->

				<!--<div class="layui-inline">
				<label class="layui-form-label">责任人 </label>
			    <div class="layui-input-block">
			      <input type="text" id="leaderUser" placeholder="输入姓名"  />
			    </div>
				
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">责任单位</label>
				<div class="layui-input-block">
			      <select name="interest" id="dutycompay"  lay-filter="aihao">
			        <option>请选择</option>
			     </select>
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">治理措施落实时间 </label>
			    <div class="layui-input-block">
			      <input type="date" id="practic" placeholder="选择时间"  />
			    </div>
				
			</div>-->
				<!--<div class="layui-form-item layui-form-text">
			    <label class="layui-form-label">治理方案</label>
			    <div class="layui-input-block">
			      <textarea name="desc" id="treatment"  placeholder="输入防控措施" class="layui-textarea"></textarea>
			    </div>
			   
			</div>
			<div class="layui-form-item layui-form-text">
			    <label class="layui-form-label"></label>
			    <div class="layui-input-block" >
			    	<div id="picapp"></div>
			      <input type="file"  id="selfile"  />
			      <div id="picapp1"></div>
			      <input type="file" id="updatafile" />
			    </div>
			</div>
			<button type="button" id="upsubmit">提交</button>-->
			</form>

			</blockquote>

			<!--操作-->
			<script type="text/html" id="newsListBar">
				<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
				<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
				<a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="look">预览</a>
			</script>
		</form>
		<script type="text/javascript" src="../../common/jquery.min.js"></script>
		<script type="text/javascript" src="../../common/config.js"></script>
		<script type="text/javascript" src="../../../layui/layui.js"></script>
		<script type="text/javascript" src="../../common/jquery.ztree.core.js"></script>
		<script type="text/javascript" src="../../common/jquery.ztree.excheck.js"></script>
		<script type="text/javascript" src="risk-particulars.js"></script>
		<script>
			$("body").click(function() {
				$("#resclass").hide();
			})
			$('#resclas').click(function() {
				return false;
			});
			$('#resclass').click(function() {
				return false;
			});
		</script>
	</body>

</html>